
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<title>Vimeo</title>

	<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>

	<link rel="stylesheet" href="css/style-landingpage.css" type="text/css" media="screen" title="no title" charset="utf-8">
	<link rel="stylesheet" type="text/css" href="/css/normalize.css">
	<link rel="stylesheet" type="text/css" href="/css/result-light.css">
	<!-- Mobile viewport optimisation -->
	<meta name="viewport" content="width=640" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
	<meta name="apple-mobile-web-app-capable" content="yes" />

	<link rel="apple-touch-icon" sizes="120x120" href="img/vimeo_icon.png" />

	<script type='text/javascript' src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script>
	<script src="js/landingpageInit.js" type="text/javascript" charset="utf-8"></script>


	<style type='text/css'>

	</style>



	<script type='text/javascript'>//<![CDATA[
	$(function(){
		var iframe = $('#player1')[0],
			player = $f(iframe),
			status = $('.status');

// When the player is ready, add listeners for pause, finish, and playProgress
		player.addEvent('ready', function() {
			status.text('ready');

			player.addEvent('pause', onPause);
			player.addEvent('finish', onFinish);
			player.addEvent('playProgress', onPlayProgress);
		});

// Call the API when a button is pressed
		$('button').bind('click', function() {
			player.api($(this).text().toLowerCase());
		});

		function onPause(id) {
			status.text('paused');
		}

		function onFinish(id) {
			status.text('finished1');
			window.location = "http://www.maximilianbrinckmann.de/missing-app/?element=5";
		}

		function onPlayProgress(data, id) {
			status.text(data.seconds + 's played');
		}

	});//]]>

	</script>


</head>
<body>
<iframe id="player1" src="http://player.vimeo.com/video/85436305?api=1&player_id=player1" width="600" height="338" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

<span class="status">...</span>

</body>


</html>

